package com.zygh.policeasset.controller;

import com.zygh.policeasset.service.ApprovalStepsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping({"/approvalSteps"})
@Api(tags = {"审批流程"})
@RestController
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/controller/ApprovalStepsController.class */
public class ApprovalStepsController {
    @Autowired
    ApprovalStepsService approvalStepsService;

    @RequestMapping(value = {"/selectAll"}, method = {RequestMethod.GET})
    @ApiOperation("获取全部列表")
    public Object selectAll(@RequestParam(value = "type",required = false) String type) {
        return this.approvalStepsService.selectAll(type);
    }
}